package com.cyx.config;

import com.cyx.dao.UserDao;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfigDao {
    @Bean
    public UserDao userDao(){
        return new UserDao();
    }
}

